package com.zhengxiang.onlinexamination.controller;


import com.baomidou.mybatisplus.extension.api.ApiController;
import com.zhengxiang.onlinexamination.base.AjaxResult;
import com.zhengxiang.onlinexamination.service.SettingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * 配置表(ZSetting)表控制层
 *
 * @author 
 * @since 2023-03-10 11:43:12
 */
@RestController
@RequestMapping("setting")
public class SettingController extends ApiController {

    @Autowired
    private SettingService settingService;


    @GetMapping("/querySettingAll")
    public AjaxResult querySettingAll(Integer groupType){

        return AjaxResult.success(settingService.querySettingList(groupType));
    }


}

